using System;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using FluentNHibernate.Mapping;
using MvcMall.Core.Domains;

namespace MvcMall.Data.NHibernateMaps
{
    public class ArticleCommentMap : SubclassMap<ArticleComment>
    {
        public ArticleCommentMap()
        {
            DiscriminatorValue(0);
            References(c => c.Article).Column("ObjectId");
        }
    }
}